package com.jye.cloud.domain;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import javax.persistence.Transient;
import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Subject implements Serializable{
    private Integer id;
    private String title;
    private String type;
    private Integer grade;
    private String tip;
    private Integer pId;
    @Transient
    private List<Options> optionsList;
}
